// 模板-标题区域-带边线
.f-tmpl-for-title-withline {
    color: $f-tmpl-title-withline-title-text;
    display: inline-flex;
    align-items: center;
    line-height: $f-tmpl-title-withline-title-line-height;
    position: relative;
    overflow: hidden;
    padding: $f-section-header-title-inner-gutter;

    >* {
        margin: 0 0.625rem 0 0;
    }

    .f-title {
        &-text {
            font-size: $f-tmpl-title-withline-title-font-size;
            line-height: $f-tmpl-title-withline-title-line-height;

            @include f-text-overflow;
        }

        &-subtitle {
            font-size: $f-tmpl-title-withline-subtitle-font-size;
            color: $f-tmpl-title-withline-subtitle-text;
            line-height: $f-tmpl-title-withline-subtitle-line-height;

            @include f-text-overflow;
        }
    }

    &::before {
        content: '';
        width: $f-section-header-title-adorn-width;
        height: $f-section-header-title-adorn-height;
        background: $f-section-header-title-adorn-bg;
        border-radius: $f-section-header-title-adorn-radius;
        position: absolute;
        top: 50%;
        left: 0;
        margin-top: -0.5 * $f-section-header-title-adorn-height;
    }
}

.f-list-view-content .f-list-view-group .f-list-content .f-tmpl-card--header-multicontent01 .header-multicontent01--content .header-multicontent01--footer {
    min-height: 31px;
}

// 向导页脚
.f-component-wizard-page-detail-footer {
    border-top: 1px solid $f-neutral-08;
    padding: 0.75rem 0.875rem 0.875rem;
}

.f-tmpl-card--header-multicontent01 {
    background: #FEFEFF;
    border: 1px solid #E4E7EF;
    border-radius: 4px;
    width: 19.375rem;
    margin: 0 1rem 1rem 0;
    box-shadow: 0 2px 10px 0 rgba(0, 25, 58, 0.10);

    .header-multicontent01--header {
        color: #fff;
        border-radius: 4px;
        height: 2.5rem;
        padding: 0 1.375rem;
        position: relative;
        background: linear-gradient(225deg, $f-aid-01, $f-theme-03);

        .f-title {
            font-size: 1rem;
            line-height: 2.5rem;
            margin: 0;
        }

        .f-state {
            text-align: center;
            position: absolute;
            top: -1px;
            right: -1px;
            width: 3.75rem;
            height: 1.5rem;
            line-height: 1.5rem;
            color: #fff;
            font-size: 0.75rem;

            span {
                display: block;
                border-radius: 0 0 0 6px;
            }
        }
    }

    .header-multicontent01--content {
        padding: 1rem 1.375rem;
        position: relative;

        .f-title {
            font-size: 1rem;
            height: 22px;
        }

        p {
            margin: 0 0 0.5rem;
        }

        .f-state {
            position: absolute;
            right: 0;
            top: 13px;

            span {
                border-radius: 4px 0 0 4px;
                padding-top: 4px;
                padding-bottom: 4px;
            }
        }
    }

    .header-multicontent01--footer {
        .f-emphasize {
            font-size: 1.375rem;
            color: #F7962A;
        }

        .f-toolbar {
            margin: 0;

            span {

                cursor: pointer;
                margin: 0 1rem 0 0;
            }
        }
    }

}

.f-tmpl-list--columns01 {
    display: flex;
    flex-wrap: no-wrap;
    border: 1px solid #ddd;
    position: relative;
    margin: -1px 8px 0;
    flex-direction: row;
    padding: 20px 8px 12px;
    align-items: center;

    p {
        margin-bottom: 4px;
    }

    .f-state {
        position: absolute;
        top: -1px;
        left: 0;

        span {
            border-radius: 0 0 4px 4px;
            padding-left: 12px;
            padding-right: 11px;
        }
    }

    .f-emphasize {
        font-size: 1.375rem;
        color: #F7962A;
    }
}

.f-template-common-row {
    padding: 12px 16px;
    align-items: center;

    .item-action-primary {
        display: inline-block;
        margin-right: 16px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        overflow: hidden;

        .ap-img {
            display: block;
            width: 60px;
            height: 60px;
            border-radius: 50%;
        }
    }

    .listview-item-content {
        border-bottom: 1px solid #d9d9d9;
        flex: 1 1 auto;

        .listview-item-main {
            flex-grow: 1;
            flex-shrink: 1;
            flex-basis: 0;
        }

        .listview-item-title {
            font-size: 16px;
            color: rgba(0, 0, 0, 0.85);
        }

        .listview-item-subtitle {
            font-size: 14px;
            color: rgba(0, 0, 0, 0.45);
        }

        .listview-item-btns {
            .btn {
                margin-left: 6px;
                margin-right: 6px;
            }
        }
    }
}

.f-listview-active {
    .f-tmpl-list--columns01 {
        background: $f-aid-03;
        box-shadow: 0 2px 10px 0 rgba(0, 25, 58, 0.1);
    }

    .f-tmpl-card--header-multicontent01 {
        background: $f-aid-03;
    }

    .f-template-common-row .listview-item-content {
        border-color: $f-theme-03;
    }
}